﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH4_2102A.Shopping.Domain
{
    /// <summary>
    /// 审计字段
    /// </summary>
    public class AuditField
    {
        /// <summary>
        /// 备注说明
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;

        /// <summary>
        /// 创建时间：这条数据是什么时间创建的
        /// </summary>
        public DateTime CreatedTime { get; set; } = System.DateTime.Now;
        /// <summary>
        /// 创建人：这条数据是由谁创建的
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 修改时间：这条数据的最后修改时间
        /// </summary>
        public DateTime? UpdatedTime { get; set; }

        /// <summary>
        /// 修改人：这条数据是由谁修改的
        /// </summary>
        public string? UpdatedBy { get; set; }
    }
}
